{literal}{if ({/literal}{$show|default:true}{literal})}{/literal}

{literal}{if ({/literal}{$checked_condition}{literal})}{/literal}
<label for="{$id|default:''}" class="checkbox">
	<input name="{$name|default:''}" type="hidden" value="0" /> 
	<input id="{$id|default:''}" name="{$name|default:''}" type="checkbox" value="{$value|default:''}" checked="checked"> {$label|default:''}
</label>
{literal}{else}{/literal}
<label for="{$id|default:''}" class="checkbox">
	<input name="{$name|default:''}" type="hidden" value="0" />
	<input id="{$id|default:''}" name="{$name|default:''}" type="checkbox" value="{$value|default:''}"> {$label|default:''}
</label>
{literal}{/if}{/literal}

{literal}{/if}{/literal}